package com.cheng.im.service.frienship.model.req;

import com.cheng.im.service.common.model.RequestBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;


@Data
@ApiModel("IM移出黑名单请求类")
public class DeleteBlackReq extends RequestBase {

    @NotBlank(message = "用户id不能为空")
    @ApiModelProperty("请求用户ID")
    private String fromId;

    @NotBlank(message = "好友id不能为空")
    @ApiModelProperty("好友ID")
    private String toId;

}
